package com.jwsoft.manager.common.vo.eduEnrollmenBrochure;


import com.bifang.assistant.common.vo.BasePageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 文章审核
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(title = "文章审核", description = "文章审核")
public class EnrollmenAuthVO extends BasePageVO {

    @Schema(
            name = "articleId",
            title = "文章id"
    )
    @NotNull(
            message = "主键不能为空"
    )
    private Long articleId;
    @Schema(
            name = "authStatus",
            title = "审核状态 0 未审核 1 审核通过 2 审核不通过"
    )
    @NotBlank(
            message = "审核状态不能为空"
    )
    private String authStatus;
    @Schema(
            name = "authUserId",
            title = "审核人"
    )
    private String authUserId;
    @Schema(
            name = "authTime",
            title = "审核时间"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date authTime;
    @Schema(
            name = "authRemarks",
            title = "审核说明"
    )
    private String authRemarks;

    @Schema(name = "schoolId",title = "学校Id")
    private String schoolId;

    @Schema(name = "classify", title = "2:义务教育段；1:幼儿园段")
    private String classify;


}
